package com.xing.generator;

/**
 * 字符串的，隔开
 *
 * @author: xingfuhao
 * @create: 2022-01-17 14:02
 */
public class AString {

    public static void main(String[] args) {
        String[] hs={"1","2","3","4","5"};
        StringBuilder sb=new StringBuilder();
        for(int i=0;i<hs.length;i++){
            if(i>0)
                sb.append(",");
            sb.append(hs[i]);
        }
        System.out.println(sb.toString());
    }
}
